<form class="layui-form modal-form-box" action="__SELF__" data-auto="true" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">用户账号</label>
        <div class="layui-input-block">  
            <input type="text" name="username" value="{$Think.session.user_info.username}" required title="请输入用户名" class="layui-input layui-bg-gray" readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">旧的密码</label>
        <div class="layui-input-block">  
            <input type="password" name="oldPwd" placeholder="请输入旧的密码" required title="请输入旧的密码" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新的密码</label>
        <div class="layui-input-block">  
            <input type="password" name="newPwd" placeholder="请输入新的密码" required title="请输入新的密码" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">重复密码</label>
        <div class="layui-input-block">  
            <input type="password" name="rePwd" placeholder="请输入重复密码" required title="请输入重复密码" class="layui-input" />
        </div>
    </div>
    <div class="layui-form-item text-center">
        <button class="layui-btn" type="submit">保存数据</button>
        <button class="layui-btn layui-btn-primary" type="button" data-close>取消编辑</button>
    </div>
</form>